
// INCLUDES ********************************************************************

#include "DrawableContainer.h"

#include "Configuration.h"

#include "Scene.h"

// NAMESPACES ******************************************************************

#pragma mark -
#pragma mark Constructor
// -----------------------------------------------------------------------------

Meteor::Scene::Scene()

: DrawableContainer()
{
    SetSize( Configuration::Instance().ValueForKey<Vector2D>( "Screensize"));
}


#pragma mark -
#pragma mark Destructor
// -----------------------------------------------------------------------------

Meteor::Scene::~Scene()
{
}


#pragma mark -
#pragma mark Transition
// -----------------------------------------------------------------------------

Meteor::Tween* Meteor::Scene::TransitionTween( const float startValue,
                                               const float targetValue,
                                               const float duration) const
{
    return new Tween( Tween::Alpha, Tween::EaseNone, startValue, targetValue, duration);
}